<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="UTF-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <title>Document</title>
        <style>
        * {
            padding: 0px;
            margin: 0px;
        }
        body{
            display: flex;
            justify-content: center;
        }
        .wrap {
            margin-top: 30px;
            width: 400px;
            height: 600px;
            background: rgba(242, 250, 131, 0.663);
            overflow: auto;
        }
        .box {
            height: 99px;
            border-bottom: 1px solid black;
            text-align: center;
            line-height: 99px;
            font-size: 28px;
        }
        .footer {
           position: sticky;
           bottom: 0px;
           height: 100px;
           background-color: rgb(232, 109, 109);
        }   
    </style>
    </head>
    <body>
        <div class="wrap">
            <div class="box">1</div>
            <div class="box">2</div>
            <div class="box">3</div>
            <div class="box">4</div>
            <div class="box">5</div>
            <div class="box">6</div>
            <div class="box">7</div>
            <div class="box">8</div>
            <div class="box">9</div>
            <div class="box">10</div>
            <div class="box">11</div>
            <div class="box">12</div>
            <div class="box">13</div>
            <div class="box">14</div>
            <div class="footer"></div>
        </div>
    </body>
</html>
